package com.xtkj.superclub_information.service;

import com.xtkj.superclub_entity.entity.travel.Travel;
import com.xtkj.superclub_entity.entity.travel.TravelPraise;
import com.xtkj.superclub_entity.entity.user.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @author lizheqi
 * @create 2020-01-02-10:26
 */
public interface ITravelService {
    List<Travel> getTravelsListByNews();

    List<Travel> getTravelsListByTime();

    List<Travel> getTravelsListByHot();

    Map getTravelsInfo(Travel travel,String userId);

    void travelsContribute(Travel travel);

    String uploadPhoto(MultipartFile file);
}
